import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'



// 遮罩层
import { Overlay, Form, Field, Lazyload, Button, SwipeCell, ActionSheet, Popup } from 'vant';
import 'vant/lib/overlay/style'
Vue.use(Overlay)
// 表单
import 'vant/lib/form/style'
import 'vant/lib/field/style'
Vue.use(Form);
Vue.use(Field);

Vue.use(Lazyload);
Vue.use(Lazyload, {
  lazyComponent: true,
});
// 按钮
import 'vant/lib/button/style'
Vue.use(Button)

// 滑动单元格
import 'vant/lib/swipe-cell/style'
Vue.use(SwipeCell)

// 动作面板
import 'vant/lib/action-sheet/style';
Vue.use(ActionSheet);

import 'vant/lib/popup'
Vue.use(Popup)


// 重置css样式
import './assets/style/reset.scss'
import './assets/style/normal.scss'
import '../public/iconfont/iconfont.css'



Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
